
#include "inout.d2"

def tileposition:byte[8,8]  = 0,1,1,1,1,1,1,2, 3,8,8,8,8,8,8,4, 3,8,8,8,8,8,8,4, 3,8,8,8,8,8,8,4, 3,8,8,8,8,8,8,4, 3,8,8,8,8,8,8,4, 3,8,8,8,8,8,8,4, 5,6,6,6,6,6,6,7 

def tmp1:byte = 5
def tmp2:byte = 7
def tmp:byte

tmp = tileposition[tmp1, tmp2] 

call printnum(tmp)

